package com.un10.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.un10.entity.PropicInfo;
import com.un10.mapper.PropicinfoMapper;
import com.un10.service.PropicinfoService;

@Service
public class PropicinfoServiceImpl implements PropicinfoService {
	@Autowired
	private PropicinfoMapper propicinfoMapper;

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return propicinfoMapper.getCount();
	}

	@Override
	public List<PropicInfo> findAllPropicinfo(int page, int limit,Integer proID) {
		// TODO Auto-generated method stub
		return propicinfoMapper.getAllPropicinfo(page, limit, proID);
	}

	@Override
	public Integer findPropicinfoAdd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return propicinfoMapper.PropicinfoAdd(map);
	}

	@Override
	public Integer findPropicinfoUpdate(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return propicinfoMapper.PropicinfoUpdate(map);
	}

	@Override
	public Integer findPropicinfoDelete(Integer picID) {
		// TODO Auto-generated method stub
		return propicinfoMapper.PropicinfoDelete(picID);
	}

}
